package com.mutual.reins.trial.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mutual.reins.trial.entity.PrptReinsShare;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author CodeGenerate
 * @since 2021-04-09
 */
public interface PrptReinsShareMapper extends BaseMapper<PrptReinsShare> {

    /**
     * 根据投保单号获取自留合约保额
     * @param proposalNo 投保单号
     * @return 返回再保自留保额
     */
    Long sumRetentionValue(String proposalNo);

}
